package com.book.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.book.pojo.UserInfo;
import com.book.utils.Result;

public interface UserInfoService extends IService<UserInfo> {


	String login(String username, String userPassword);

	String register(UserInfo userInfo);
	boolean checkUserExists(String username);
	UserInfo findByUserNameAndUserPassword(String username, String userPassword);
}